package com.wish.g3.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 商户充值提现申请表
 * </p>
 *
 * @author wish
 * @since 2022-11-25
 */
@TableName("tb_cw_cztx_apply")
public class CwCztxApply implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户ID
     */
    private Long businessId;

    /**
     * 商户名称
     */
    private String businessName;

    /**
     * 充值或提现申请单号
     */
    private String applyNo;

    /**
     * 申请类型， 1：充值，2：提现
     */
    private Integer applyType;

    /**
     * 申请日期
     */
    private LocalDateTime applyDate;

    /**
     * 申请提现金额
     */
    private BigDecimal applyAmount;

    /**
     * 提现到账户ID(提现的时候必须)
     */
    private Long accountDetailId;

    /**
     * 开户银行
     */
    private String brankName;

    /**
     * 开户支行
     */
    private String brankNameChildren;

    /**
     * 账户名
     */
    private String accountName;

    /**
     * 银行卡号
     */
    private String brankId;

    /**
     * 审核状态， 1:待审核，2：审核通过，3：审核不通过（充值不需要审核，直接设置为审核通过）
     */
    private Integer checkState;

    /**
     * 审核时间（充值的时候直接创建时间）
     */
    private LocalDateTime checkDate;

    /**
     * 审核人ID（充值的时候无）
     */
    private Long checkUserId;

    /**
     * 审核人（充值的时候无）
     */
    private String checkUserName;

    /**
     * 处理状态， 1:处理中，2：提现成功，3：提现失败， 4：充值成功, 5：充值失败
     */
    private Integer processState;

    /**
     * 支付流水号
     */
    private String payFlowNo;

    /**
     * 到账时间（提现的时候到账时间，充值的时候结算到账时间）
     */
    private LocalDateTime dzDate;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 预留字段1
     */
    private BigDecimal reserve1;

    /**
     * 预留字段2
     */
    private Integer reserve2;

    /**
     * 预留字段3
     */
    private String reserve3;

    /**
     * 预留字段4
     */
    private String reserve4;

    /**
     * 预留字段5
     */
    private String reserve5;

    /**
     * 删除标识,0:未删除，1：删除
     */
    private Boolean delFlg;

    /**
     * 创建用户ID
     */
    private Long createUserid;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新用户ID
     */
    private Long updateUserid;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }
    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }
    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }
    public Integer getApplyType() {
        return applyType;
    }

    public void setApplyType(Integer applyType) {
        this.applyType = applyType;
    }
    public LocalDateTime getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(LocalDateTime applyDate) {
        this.applyDate = applyDate;
    }
    public BigDecimal getApplyAmount() {
        return applyAmount;
    }

    public void setApplyAmount(BigDecimal applyAmount) {
        this.applyAmount = applyAmount;
    }
    public Long getAccountDetailId() {
        return accountDetailId;
    }

    public void setAccountDetailId(Long accountDetailId) {
        this.accountDetailId = accountDetailId;
    }
    public String getBrankName() {
        return brankName;
    }

    public void setBrankName(String brankName) {
        this.brankName = brankName;
    }
    public String getBrankNameChildren() {
        return brankNameChildren;
    }

    public void setBrankNameChildren(String brankNameChildren) {
        this.brankNameChildren = brankNameChildren;
    }
    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }
    public String getBrankId() {
        return brankId;
    }

    public void setBrankId(String brankId) {
        this.brankId = brankId;
    }
    public Integer getCheckState() {
        return checkState;
    }

    public void setCheckState(Integer checkState) {
        this.checkState = checkState;
    }
    public LocalDateTime getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(LocalDateTime checkDate) {
        this.checkDate = checkDate;
    }
    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }
    public String getCheckUserName() {
        return checkUserName;
    }

    public void setCheckUserName(String checkUserName) {
        this.checkUserName = checkUserName;
    }
    public Integer getProcessState() {
        return processState;
    }

    public void setProcessState(Integer processState) {
        this.processState = processState;
    }
    public String getPayFlowNo() {
        return payFlowNo;
    }

    public void setPayFlowNo(String payFlowNo) {
        this.payFlowNo = payFlowNo;
    }
    public LocalDateTime getDzDate() {
        return dzDate;
    }

    public void setDzDate(LocalDateTime dzDate) {
        this.dzDate = dzDate;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public BigDecimal getReserve1() {
        return reserve1;
    }

    public void setReserve1(BigDecimal reserve1) {
        this.reserve1 = reserve1;
    }
    public Integer getReserve2() {
        return reserve2;
    }

    public void setReserve2(Integer reserve2) {
        this.reserve2 = reserve2;
    }
    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }
    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }
    public String getReserve5() {
        return reserve5;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5;
    }
    public Boolean getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Boolean delFlg) {
        this.delFlg = delFlg;
    }
    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TbCwCztxApply{" +
            "id=" + id +
            ", businessId=" + businessId +
            ", businessName=" + businessName +
            ", applyNo=" + applyNo +
            ", applyType=" + applyType +
            ", applyDate=" + applyDate +
            ", applyAmount=" + applyAmount +
            ", accountDetailId=" + accountDetailId +
            ", brankName=" + brankName +
            ", brankNameChildren=" + brankNameChildren +
            ", accountName=" + accountName +
            ", brankId=" + brankId +
            ", checkState=" + checkState +
            ", checkDate=" + checkDate +
            ", checkUserId=" + checkUserId +
            ", checkUserName=" + checkUserName +
            ", processState=" + processState +
            ", payFlowNo=" + payFlowNo +
            ", dzDate=" + dzDate +
            ", remarks=" + remarks +
            ", reserve1=" + reserve1 +
            ", reserve2=" + reserve2 +
            ", reserve3=" + reserve3 +
            ", reserve4=" + reserve4 +
            ", reserve5=" + reserve5 +
            ", delFlg=" + delFlg +
            ", createUserid=" + createUserid +
            ", createTime=" + createTime +
            ", updateUserid=" + updateUserid +
            ", updateTime=" + updateTime +
        "}";
    }
}
